package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "TBSHRDept")
public class Dept {
	
	@Id
	@Column(name = "DeptID")
	private int nDeptID;
	
	@Column(name = "AID")
	private int nAID;
	
	@Column(name = "UpDeptID")
	private int nUpDeptID;
	
	@Column(name = "DeptCode")
	private String cDeptCode;
	
	@Column(name = "HelpCode")
	private String cHelpCode;

	@Column(name = "HeadCode")
	private String cHeadCode;
	
	@Column(name = "OrderCode")
	private String cOrderCode;
	
	@Column(name = "DeptName")
	private String cDeptName;
	
	/*@Column(name = "ChiefEmpID")
	private int nChiefEmpID;
	
	@Column(name = "DistID")
	private int nDistID;
	
	@Column(name = "TelArea")
	private String cTelArea;*/
	
//	@Column(name = "Level")
//	private int nLevel;
	
	@Column(name = "IsUse")
	private Boolean nIsUse;
	
	@Column(name = "Maker")
	private String cMaker;
	
	@Column(name = "MakeDate")
	private Date dMakeDate;
	
	@Column(name = "Verifier")
	private String cVerifier;
	
	@Column(name = "VerifyDate")
	private Date dVerifyDate;

	@Column(name = "DeptTypeID")
	private int nDeptTypeID;
	
	@Column(name = "IsVirtual")
	private Boolean nIsVirtual;
	
	@Column(name = "IsStatistics")
	private Boolean nIsStatistics;
	
	@Column(name = "ManaSortID")
	private int nManaSortID;
	
	@Column(name = "IsAssume")
	private Boolean nIsAssume;
	
	@Column(name = "State")
	private int nState;

	public int getnDeptID() {
		return nDeptID;
	}

	public void setnDeptID(int nDeptID) {
		this.nDeptID = nDeptID;
	}

	public int getnAID() {
		return nAID;
	}

	public void setnAID(int nAID) {
		this.nAID = nAID;
	}

	public int getnUpDeptID() {
		return nUpDeptID;
	}

	public void setnUpDeptID(int nUpDeptID) {
		this.nUpDeptID = nUpDeptID;
	}

	public String getcDeptCode() {
		return cDeptCode;
	}

	public void setcDeptCode(String cDeptCode) {
		this.cDeptCode = cDeptCode;
	}

	public String getcHelpCode() {
		return cHelpCode;
	}

	public void setcHelpCode(String cHelpCode) {
		this.cHelpCode = cHelpCode;
	}

	public String getcHeadCode() {
		return cHeadCode;
	}

	public void setcHeadCode(String cHeadCode) {
		this.cHeadCode = cHeadCode;
	}

	public String getcOrderCode() {
		return cOrderCode;
	}

	public void setcOrderCode(String cOrderCode) {
		this.cOrderCode = cOrderCode;
	}

	public String getcDeptName() {
		return cDeptName;
	}

	public void setcDeptName(String cDeptName) {
		this.cDeptName = cDeptName;
	}

	public String getcMaker() {
		return cMaker;
	}

	public void setcMaker(String cMaker) {
		this.cMaker = cMaker;
	}

	public Date getdMakeDate() {
		return dMakeDate;
	}

	public void setdMakeDate(Date dMakeDate) {
		this.dMakeDate = dMakeDate;
	}

	public String getcVerifier() {
		return cVerifier;
	}

	public void setcVerifier(String cVerifier) {
		this.cVerifier = cVerifier;
	}

	public Date getdVerifyDate() {
		return dVerifyDate;
	}

	public void setdVerifyDate(Date dVerifyDate) {
		this.dVerifyDate = dVerifyDate;
	}

	public int getnDeptTypeID() {
		return nDeptTypeID;
	}

	public void setnDeptTypeID(int nDeptTypeID) {
		this.nDeptTypeID = nDeptTypeID;
	}

	public Boolean getnIsVirtual() {
		return nIsVirtual;
	}

	public void setnIsVirtual(Boolean nIsVirtual) {
		this.nIsVirtual = nIsVirtual;
	}

	public int getnManaSortID() {
		return nManaSortID;
	}

	public Boolean getnIsUse() {
		return nIsUse;
	}

	public void setnIsUse(Boolean nIsUse) {
		this.nIsUse = nIsUse;
	}

	public Boolean getnIsStatistics() {
		return nIsStatistics;
	}

	public void setnIsStatistics(Boolean nIsStatistics) {
		this.nIsStatistics = nIsStatistics;
	}

	public Boolean getnIsAssume() {
		return nIsAssume;
	}

	public void setnIsAssume(Boolean nIsAssume) {
		this.nIsAssume = nIsAssume;
	}

	public void setnManaSortID(int nManaSortID) {
		this.nManaSortID = nManaSortID;
	}

	public int getnState() {
		return nState;
	}

	public void setnState(int nState) {
		this.nState = nState;
	}
}
